diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-08-27 21:56:25 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-08-27 21:56:25 +0100 |
| commit | d408f4f80670ed7f73d09f8ccfefdcb8a7835406 (patch) | |
| tree | d298ac2139b3ee98606fcb6164ef306c16605b8f /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 7afd4bc26233bae7bc087b778c4378dbd8f6ff73 (diff) | |
Add Patio code gen for loop instructions
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
| -rw-r--r-- | snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..b48157df --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,18 @@ +Compilation unit elements: + + +Locals: + * (val "tmp__0" int) + +Instructions: + +( + ( + loop + ( + (local-store (local "tmp__0") (int 1)) + ) + ) +) + +Temporary stack: |
